﻿using MediatR;
using THE_WIND_RISES.Common.Dtos;

namespace Production_Set.API.MaterialManagement.Add
{
    public class RowBillMaterialCreateCommon : IRequest<Result>
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int RowId { get; set; }
        /// <summary>
        /// 顺序
        /// </summary>
        public string RowOrder { get; set; }
        /// <summary>
        /// 工序
        /// </summary>
        public string Process { get; set; }
        /// <summary>
        /// 物料选择
        /// </summary>
        public int ChooseId { get; set; }
        /// <summary>
        /// 物料属性
        /// </summary>
        public string RowAttribute { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string SpecName { get; set; }
        /// <summary>
        /// 子件bom版本
        /// </summary>
        public string Version { get; set; }
        /// <summary>
        /// 生产前置期
        /// </summary>
        public int LeadPeriod { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string RowState { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public string Handle { get; set; }
        /// <summary>
        /// 操作内容
        /// </summary>
        public string HandleContext { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime HandleTime { get; set; }
        /// <summary>
        /// pid=1:创建   pid=2:审批   pid=3:删除   pid=4:修改  
        /// </summary>
        public int Pid { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
